<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="b" uri="/b2b-tags"%>
<script>
setFocus(1); 
</script>
<div id="container">
	<div class="crumb">
		您现在的位置： <a href="<c:url value="/" />">宣城医药在线</a> &gt; <a
			href="<c:url value="/views/jsp/cms/help/index_d.jsp" />">帮助中心</a>
	</div>
	<div class="clearfix mt10">
		<!-- 左菜单样式 -->
		<div>
			<link type="text/css" rel="stylesheet" href="<c:url value="/views/jsp/cms/help/lib/left_menu.css" />">
			<div class="left_menu">
				<ul id="help_list" class="column clearfix">
					<b:showCmsCategory outResponseAttrName="categoryHelp"
						typeName="联系我们" getType="list" />
					<li><h2>联系我们</h2>
						<ul>

							<c:forEach items="${categoryHelp}" var="p1">
								<li><h3 class="">
										<i>&nbsp;</i>${p1.name }</h3>
									<ul style="display: none;">
										<c:forEach items="${p1.children }" var="p2" varStatus="in">
											<li id="left_navi${in.index }"><a
												href="<c:url value="/views/jsp/cms/help/index_d.jsp" />?id=${p2.newsTypeId }"><i>&nbsp;</i>${p2.name }</a></li>
										</c:forEach>
									</ul></li>
							</c:forEach>
						</ul></li>
				</ul>
				<ul class="column2 mt10 clearfix">
					<b:showCmsCategory outResponseAttrName="categoryAbout" typeName="关于我们" getType="list" />
					<li><h2>关于我们</h2>
						<ul class="about_yyw">
							<c:forEach items="${categoryAbout }" var="p1" varStatus="inc">
								<li id="left_navi2${inc.index }" class="on">
									<c:choose>  
									   <c:when test="${p1.newsTypeId==262}">
									   <a href="<c:url value="/views/jsp/cms/help/_xc_index_d.jsp?id=GSYP" />"><i>&nbsp;</i>${p1.name }</a>
									   </c:when>  
									   <c:when test="${p1.newsTypeId==264}">
									   <a href="<c:url value="/views/jsp/cms/help/_xc_index_d.jsp?id=RYZS" />"><i>&nbsp;</i>${p1.name }</a>
									   </c:when>  
									   <c:otherwise>
									   <a href="<c:url value="/views/jsp/cms/help/index_d.jsp" />?id=${p1.newsTypeId }"><i>&nbsp;</i>${p1.name }</a>
									   </c:otherwise>  
									</c:choose>  
								</li>
							</c:forEach>
						</ul></li>
				</ul>

			</div>
			<script type="text/javascript">
				jQuery(function(){
					jQuery("#help_list").find("h3").next("ul").hide();
					jQuery("#help_list").find("h3").click(function(){
						var sub_list2 = jQuery(this).next("ul");
						if(sub_list2.is( ":visible")){
							sub_list2.slideUp();
							jQuery(this).removeClass("on");
						}else{
							jQuery("#help_list").find("h3").removeClass("on");
							jQuery("#help_list").find("h3").next().slideUp();
							sub_list2.slideDown();
							jQuery(this).addClass("on");
						}
					});
				        var h = $(".crumb").find("a[href='#']").html();
				        $("#help_list h3:contains('"+h+"')").addClass("on");
				        $("#help_list h3:contains('"+h+"')").next("ul").show();
				
				})
			</script>
		</div>
		<div class="right_content">		
			<b:getKey outResponseAttrName="gd" key="${param.id}" type="xc" />	
			<c:forEach items="${gd.rows }" var="gdlist">
			<div style="float:left; margin:10px; margin-top: 0" >
				<a href="${gdlist.value }"  target="_blank">
					<img  src="${gdlist.value }" width="270" height="180" border="0">
				<br>
				<p style="text-align:center">
				 ${gdlist.notes }
				 </p>
				</a>
			</div>
			</c:forEach>
		</div>
			
	</div>
</div>